package com.bjsxt.service;

import com.bjsxt.domain.CoinConfig;
import com.baomidou.mybatisplus.extension.service.IService;
    
/**
 * @Description:  ${description}
 * @ClassName:      CoinConfigService
 * @Author:  chenyu
 * @Date:    2025/3/13 14:56
 */
 
public interface CoinConfigService extends IService<CoinConfig>{

    /**
     * 通过币种的id 查询币种的配置信息
     * @param coinId
     * 币种的id
     * @return
     * 币种的配置信息
     */
    CoinConfig findByCoinId(Long coinId);

    /**
     * 新增或修改币种配置
     * @param coinConfig
     * @return
     */
    boolean updateOrSave(CoinConfig coinConfig);
}
